<?php
if(!defined('IN_MYMPS')) exit('Forbidden');
$data = '';
@include MYMPS_DATA.'/caches/member_'.$levelid.'.php';
$levelname = $data['levelname'];
$info_total = $db -> getOne("SELECT COUNT(id) FROM `{$db_mymps}information` $where");
if($if_corp == 1) {
	$document_total = $db -> getOne("SELECT COUNT(*) FROM `{$db_mymps}member_docu` $where");
	$album_total = $db -> getOne("SELECT COUNT(*) FROM `{$db_mymps}member_album` $where");
	$comment_total = $db -> getOne("SELECT COUNT(*) FROM `{$db_mymps}member_comment` $where");
}
$location = location();
include mymps_tpl('index');
unset($data,$levelname,$document_total,$album_total,$comment_total);
?>